<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>

    .table {
        width: 100%;
        height: 100%;
        /*display: table  开启table布局*/
        display: table;
        /*单元格之间差距*/
        border-spacing: 10px;
    }

    li {
        /*设置为表格行*/
        display: table-row;
    }

    div {
        width: 30%;
        height: 200px;
        /*设置为表格单元格*/
        display: table-cell;
        text-align: center;
        border-radius: 5px;
        background: skyblue;
    }
</style>
<body>
<ul class="table">
    <li>
        <div>1</div>
        <div>2</div>
        <div>3</div>
    </li>
    <li>
        <div>4</div>
        <div>5</div>
        <div>6</div>
    </li>
    <li>
        <div>7</div>
        <div>8</div>
        <div>9</div>
    </li>
</ul>
</body>
</html>
